/**
 * 
 */
package com.gragra.benchmark;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.IOException;
import com.gragra.sampling.binary.ConstSpanConverterFactory;
import com.gragra.sampling.binary.CreateBinaryAndFixedConst;
import com.gragra.sampling.binary.GeneratorForBinaryExtendedGibbs;
import com.gragra.sampling.binary.GeneratorForBinaryGibbs;
import com.gragra.sampling.binary.GeneratorForBinaryInside;
import com.gragra.sampling.binary.GeneratorForBinaryPop;
/**
 * @author Christoph Teichmann
 * 21.09.2013
 */
public class RunBinaryMultipleTimes extends RunBenchmarkMultipleTimes
{
	/**
	 * @param lines
	 * @param golds
	 * @param parameters
	 * @param output
	 * @throws IOException
	 */
	public RunBinaryMultipleTimes(BufferedReader lines, BufferedReader golds,
			BufferedReader parameters, BufferedWriter output)
			throws IOException
	{super(lines, golds, parameters, output);}
	/* (non-Javadoc)
	 * @see com.gragra.benchmark.RunBenchmarkMultipleTimes#makeCreators()
	 */
	@Override
	protected CreateCorpusAndGoldAssigner[] makeCreators(int threads)
	{
		return new CreateCorpusAndGoldAssigner[] {
						new CreateBinaryAndFixedConst(new GeneratorForBinaryExtendedGibbs(false, new ConstSpanConverterFactory())),
						new CreateBinaryAndFixedConst(new GeneratorForBinaryGibbs(false, new ConstSpanConverterFactory())),
						new CreateBinaryAndFixedConst(new GeneratorForBinaryPop(false, new ConstSpanConverterFactory())),
						new CreateBinaryAndFixedConst(new GeneratorForBinaryInside(false, new ConstSpanConverterFactory()))};
	}
}